From 6d380ac1b8aefb00e6be1655a416588e5559bfa0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 22 Jan 2024 18:52:29 +0000 Subject: Rename const operands to with const suffix --- ...y(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 10b0cc46..1ad789a7 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -53,7 +53,7 @@ Compilation unit elements: offset=(1 1 0) ) (call _ "shed__runtime__effects_set_handler" ((local "effectHandler__1"))) - (local-store (local "tmp__0") (int 0)) + (local-store (local "tmp__0") (int-const 0)) (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0"))) (call _ "shed__runtime__gc_push_root" ((local "tmp__0"))) (call _ "shed__runtime__gc_collect" ()) @@ -89,13 +89,13 @@ Instructions: (struct ((struct (data-ptr int int int)) (struct (function-ptr (struct (data-ptr)) (struct ()))))) (1 2) ) - (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((local "byteSize__0") (local "byteOffset__0") (int 0))) + (call (local "closurePointer__f__0") "shed__runtime__gc_alloc" ((local "byteSize__0") (local "byteOffset__0") (int-const 0))) ( memory-store pointer=(local "closurePointer__f__0") layout=(struct ((struct (data-ptr int int int)) (struct (function-ptr (struct (data-ptr)) (struct ()))))) offset=(1 0) - value=(function-ptr "shed__effectHandlerMethod__f__0") + value=(function-ptr-const "shed__effectHandlerMethod__f__0") ) (call (local "effectHandlerCurrent__0") "shed__runtime__effects_get_handler" ()) ( -- cgit v1.2.3